<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ConfirmPaymentIntentParams.clientSecret - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.model</a>&nbsp;/&nbsp;<a href="index.html">ConfirmPaymentIntentParams</a>&nbsp;/&nbsp;<a href="./client-secret.html">clientSecret</a><br/>
<br/>
<h1>clientSecret</h1>
<a name="com.stripe.android.model.ConfirmPaymentIntentParams$clientSecret"></a>
<code><span class="keyword">val </span><span class="identifier">clientSecret</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>The client secret of this PaymentIntent. Used for client-side retrieval using a
publishable key.</p>
<p>The client secret can be used to complete a payment from your frontend. It should not be
stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure
that you have TLS enabled on any page that includes the client secret.</p>
<p>Refer to our docs to <a href="https://stripe.com/docs/payments/accept-a-payment">accept a payment</a>
and learn about how <code>client_secret</code> should be handled.</p>
<p>See <a href="https://stripe.com/docs/api/payment_intents/object#payment_intent_object-client_secret">client_secret</a>.</p>
</BODY>
</HTML>
